package com.common.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ltj
 * 
 *         接收抓取数据请求报文对象
 */
public class RatioDataInput { // xml属性标签(下同)rdi
	private String onlyCode;
	private String userName;
	private String taskCode;
	private int ratioType;// 赔率类型(0香港盘 1印尼盘2马来盘3欧盘)
	private String webCode;
	private String gameCode;
	private int sumPage = 1;
	private long snatchCost;// 本次抓取花费的时间
	private String itemName;
	private String itemType;
	private String error;
	private Long version;
	private Long systemTime;
	private List<Sportinfo> sportinfos = new ArrayList<Sportinfo>();
	
	
	public String getRatioOnlyCode() {
		StringBuffer sb = new StringBuffer();
		sb.append(this.webCode);

		sb.append("_");
		sb.append(this.gameCode);

		sb.append("_");
		sb.append(this.itemName);

		sb.append("_");
		sb.append(this.itemType);

		return sb.toString();
	}
	
	public String getOnlyCode() {
		return onlyCode;
	}
	public void setOnlyCode(String onlyCode) {
		this.onlyCode = onlyCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getTaskCode() {
		return taskCode;
	}
	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}
	public int getRatioType() {
		return ratioType;
	}
	public void setRatioType(int ratioType) {
		this.ratioType = ratioType;
	}
	public String getWebCode() {
		return webCode;
	}
	public void setWebCode(String webCode) {
		this.webCode = webCode;
	}
	public String getGameCode() {
		return gameCode;
	}
	public void setGameCode(String gameCode) {
		this.gameCode = gameCode;
	}
	public int getSumPage() {
		return sumPage;
	}
	public void setSumPage(int sumPage) {
		this.sumPage = sumPage;
	}
	public long getSnatchCost() {
		return snatchCost;
	}
	public void setSnatchCost(long snatchCost) {
		this.snatchCost = snatchCost;
	}
	
	public List<Sportinfo> getSportinfos() {
		return sportinfos;
	}

	public void setSportinfos(List<Sportinfo> sportinfos) {
		this.sportinfos = sportinfos;
	}

	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemType() {
		return itemType;
	}
	public void setItemType(String itemType) {
		this.itemType = itemType;
	}
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}

	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

	public Long getSystemTime() {
		return systemTime;
	}

	public void setSystemTime(Long systemTime) {
		this.systemTime = systemTime;
	}
	
	
	

}
